package admin

import (
	"grpc.getaway.adminspro.padmins.com/internal/api/module/admin/container"
	"grpc.getaway.adminspro.padmins.com/internal/api/utils/rpc"
	pbAdmin "grpc.getaway.adminspro.padmins.com/pkg/proto/admin"
)

func List(c *container.Context) (interface{}, error) {
	return rpc.GetAdminClient().AdminList(c.GetContext(), &pbAdmin.AdminListReq{})
}
